package net.qhzw.vip.qiyu.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel(value = "支付参数")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayParam {

    /**
     * 订单号
     */
    @NotBlank(message = "订单号不能为空")
    @ApiModelProperty(value = "订单号", required = true)
    private String orderNumbers;

    /**
     * 支付方式
     */
    @NotNull(message = "支付方式不能为空")
    @ApiModelProperty(value = "支付方式 (1:微信支付 2:支付宝)", required = true)
    private Integer payType;


}

